<div>
  <%=form_for @post do |f|%>
    <%=f.text_area :content,class: 'form_control',rows: '5'%>
    <br>
    <%= f.submit '提交',class: 'form_control,btn,btn-primary'%>
<%end%></div>